package com.crm.service.statisticAnalysis.service;


import com.crm.model.common.dtos.ResponseResult;
import com.crm.model.statisticAnalysis.dtos.ClientPageDTO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;
import java.util.Date;

public interface ClientService {

    /**
     * 客户分页条件查询
     * @param clientPageDTO
     */
    ResponseResult clientPage(ClientPageDTO clientPageDTO);

    /**
     * 客户统计折线图
     * @param begin
     * @param end
     * @return
     */
    ResponseResult clientLineChart(LocalDate begin, LocalDate end);

    /**
     * 客户统计环形图
     * @return
     */
    ResponseResult doughnutChart(LocalDate queryTime);

    /**
     * 报表导出
     * @param response
     * @return
     */
    ResponseResult export(HttpServletResponse response);

}
